package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Food;

import java.util.List;

/**
 * @author xw
 * @date 2020-08-21 17:33
 */
public interface FoodKnowledgeDao {
    Page<Food> selectByCondition(String queryString);
    void add(Food food);
    void deleteById(Integer id);
    int selectCheckItemReferencedCount(Integer id);
    Food findById(int id);
    void update(Food food);
    List<CheckItem> findAll();
    void adds(Food food);
}
